package simplyrugby.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName match_record
 */
@TableName(value ="match_record")
@Data
public class MatchRecord implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id")
    private String id;

    /**
     * 
     */
    @TableField(value = "player_id")
    private String playerId;

    /**
     * 
     */
    @TableField(value = "match_id")
    private String matchId;

    /**
     * 表现
     */
    @TableField(value = "performance")
    private Integer performance;

    /**
     * 得分
     */
    @TableField(value = "score")
    private Integer score;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}